package com.lucifer.cloud.auth.msg.producer.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lucifer
 * @date 2023/12/26 15:36
 */
@Data
@JsonSerialize
@JsonIgnoreProperties(ignoreUnknown = true)
public class MsgOauth2BasicUser implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 用户名、昵称
     */
    private String name;

    /**
     * 账号
     */
    private String account;

    /**
     * 密码
     */
    private String password;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 头像地址
     */
    private String avatarUrl;

    /**
     * 是否已删除
     */
    private Boolean deleted;

    /**
     * 用户来源
     */
    private String sourceFrom;


    /**
     * 第三方登录的唯一id
     */
    private String uniqueId;


    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;


}
